package com.example.whatrubbish.model;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class SearchRecord implements Serializable {
    private Long id;

    private String userId;

    private String userIp;

    private String searchName;

    private Date searchTime;

    private Integer searchStatus;

    public SearchRecord(Long id, String userId, String userIp, String searchName, Date searchTime, Integer searchStatus) {
        this.id = id;
        this.userId = userId;
        this.userIp = userIp;
        this.searchName = searchName;
        this.searchTime = searchTime;
        this.searchStatus = searchStatus;
    }

    public SearchRecord() {
        super();
    }

}